home *** CD-ROM | disk | FTP | other *** search
- Path: nuclear.microserve.net!news
- From: ezsoldos@microserve.com (Ellis M. Zsoldos Jr.)
- Newsgroups: comp.lang.c
- Subject: Re: itoa on Unix
- Date: Tue, 09 Jan 1996 23:05:00 GMT
- Organization: Microserve Information Systems (800)-380-INET
- Distribution: world
- Message-ID: <30f2ea4b.20312215@news2.microserve.net>
- References: <4cra6m$pop@baloo.pipex-sa.net>
- NNTP-Posting-Host: corvette.microserve.com
- X-Newsreader: Forte Agent .99c/16.141
-
- nic@pipex-sa.net (Nic Tjirkalli) wrote:
-
- >I would greatly appreciate it if somebody could inform me of a simple
- >way to convert an integer to a string using gcc on unix.
- >
- Try this:
-
- sprintf(string,"%d", integer);
-
- Hope this helps ...
- ------------------------------------------------------
- Ellis M. Zsoldos Jr.
- ezsoldos@microserve.net
- http://www.microserve.net/~ezsoldos
-